﻿

.clearfix {
    *zoom: 1;
}
    .clearfix:after {
        content: "";
        display: table;
        clear: both;
    }
@keyframes unselected {
    0% {
        box-shadow: 0 0 0 4px #00c09e;
    }

    50% {
        transform: scale(0.5);
        opacity: 0.8;
        box-shadow: 0 0 0 4px #fff;
    }

    80%,100% {
        width: 100%;
        height: 100%;
        box-shadow: 0 0 0 4px #fff;
    }
}

@-o-keyframes unselected {
    0% {
        box-shadow: 0 0 0 4px #00c09e;
    }

    50% {
        -o-transform: scale(0.5);
        opacity: 0.8;
        box-shadow: 0 0 0 4px #fff;
    }

    80%,100% {
        width: 100%;
        height: 100%;
        box-shadow: 0 0 0 4px #fff;
    }
}

@-ms-keyframes unselected {
    0% {
        box-shadow: 0 0 0 4px #00c09e;
    }

    50% {
        width: 45%;
        height: 45%;
        opacity: 0.8;
        box-shadow: 0 0 0 4px #fff;
    }

    80%,100% {
        width: 100%;
        height: 100%;
        box-shadow: 0 0 0 4px #fff;
    }
}

@-moz-transition unselected {
    0% {
        box-shadow: 0 0 0 4px #00c09e;
    }

    50% {
        -moz-transform: scale(0.5);
        opacity: 0.8;
        box-shadow: 0 0 0 4px #fff;
    }

    80%, 100% {
        width: 100%;
        height: 100%;
        box-shadow: 0 0 0 4px #fff;
    }
}

@-webkit-keyframes unselected {
    0% {
        box-shadow: 0 0 0 4px #00c09e;
    }

    50% {
        -webkit-transform: scale(0.5);
        opacity: 0.8;
        box-shadow: 0 0 0 4px #fff;
    }

    80%,100% {
        width: 100%;
        height: 100%;
        box-shadow: 0 0 0 4px #fff;
    }
}

section {
    position: relative;
    margin: 10px;
    width: 157px;
    height: 157px;
    float: left;
}

    section:before {
        content: "\2714";
        display: block;
        position: absolute;
        margin: auto;
        top: 0;
        left: 0;
/*        bottom: 0;*/
/*        right: 0;*/
        width: 40px;
        height: 40px;
        line-height: 40px;
        background: #00c09e;
        border-radius: 50px;
        color: #fff;
        text-align: center;
        font-size: 16px;
        z-index: 10;
        opacity: 0;
        transition: 0.3s linear;
        -o-transition: 0.3s linear;
        -ms-transition: 0.3s linear;
        -moz-transition: 0.3s linear;
        -webkit-transition: 0.3s linear;
        -o-user-select: none;
        -moz-user-select: none;
        -webkit-user-select: none;
    }

    section.selected:before {
        opacity: 1;
    }

    /* img selection */

    section.selected .up-img {
        box-shadow: 0 0 0 4px #00c09e;
        animation: selected 0.3s cubic-bezier(0.250, 0.100, 0.250, 1.000);
        -o-animation: selected 0.3s cubic-bezier(0.250, 0.100, 0.250, 1.000);
        -ms-animation: selected 0.3s cubic-bezier(0.250, 0.100, 0.250, 1.000);
        -moz-animation: selected 0.3s cubic-bezier(0.250, 0.100, 0.250, 1.000);
        -webkit-animation: selected 0.3s cubic-bezier(0.250, 0.100, 0.250, 1.000);
    }

@keyframes selected {
    0% {
        border-color: #fff;
    }

    50% {
        transform: scale(0.5);
        opacity: 0.8;
        box-shadow: 0 0 0 4px #00c09e;
    }

    80%,100% {
        width: 100%;
        height: 100%;
        box-shadow: 0 0 0 4px #00c09e;
    }
}

@-o-keyframes selected {
    0% {
        box-shadow: 0 0 0 4px #fff;
    }

    50% {
        -o-transform: scale(0.5);
        opacity: 0.8;
        box-shadow: 0 0 0 4px #00c09e;
    }

    80%,100% {
        width: 100%;
        height: 100%;
        box-shadow: 0 0 0 4px #00c09e;
    }
}

@-ms-keyframes selected {
    0% {
        box-shadow: 0 0 0 4px #fff;
    }

    50% {
        width: 45%;
        height: 45%;
        opacity: 0.8;
        box-shadow: 0 0 0 4px #00c09e;
    }

    80%,100% {
        width: 100%;
        height: 100%;
        box-shadow: 0 0 0 4px #00c09e;
    }
}

@-moz-transition selected {
    0% {
        box-shadow: 0 0 0 4px #fff;
    }

    50% {
        -moz-transform: scale(0.5);
        opacity: 0.8;
        box-shadow: 0 0 0 4px #00c09e;
    }

    80%, 100% {
        width: 100%;
        height: 100%;
        box-shadow: 0 0 0 4px #00c09e;
    }
}

@-webkit-keyframes selected {
    0% {
        box-shadow: 0 0 0 4px #fff;
    }

    50% {
        -webkit-transform: scale(0.5);
        opacity: 0.8;
        box-shadow: 0 0 0 4px #00c09e;
    }

    80%,100% {
        width: 100%;
        height: 100%;
        box-shadow: 0 0 0 4px #00c09e;
    }
}

/* button */

button {
    height: 45px;
    margin: 0 7px;
    padding: 5px 0;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 2px;
    color: #fff;
    border: 0;
    border-radius: 2px;
    text-transform: uppercase;
    outline: 0;
}

    button.select {
        float: left;
        background: #435a6b;
        cursor: pointer;
        width: 150px;
    }

        button.select:before, button.select:after {
            position: absolute;
            display: block;
            content: 'select all';
            width: 150px;
            text-align: center;
            transition: 0.1s linear;
            -o-transition: 0.1s linear;
            -ms-transition: 0.1s linear;
            -moz-transition: 0.1s linear;
            -webkit-transition: 0.1s linear;
        }

        button.select:after {
            content: 'unselect';
            margin-top: 20px;
            opacity: 0;
        }

        button.select.selected:before {
            transform: translate(0,-38px);
            -o-transform: translate(0,-38px);
            -ms-transform: translate(0,-38px);
            -moz-transform: translate(0,-38px);
            -webkit-transform: translate(0,-38px);
            opacity: 0;
        }

        button.select.selected:after {
            transform: translate(0,-38px);
            -o-transform: translate(0,-38px);
            -ms-transform: translate(0,-38px);
            -moz-transform: translate(0,-38px);
            -webkit-transform: translate(0,-38px);
            opacity: 1;
        }

    button.send {
        float: right;
        background: #aaa;
        padding: 0px 15px;
        transition: 0.3s linear;
        -o-transition: 0.3s linear;
        -ms-transition: 0.3s linear;
        -moz-transition: 0.3s linear;
        -webkit-transition: 0.3s linear;
    }

        button.send.selected {
            background: #00c09e;
            cursor: pointer;
        }

        button.send:after {
            position: absolute;
            content: attr(data-counter);
            padding: 5px 8px;
            margin: -29px 0 0 0px;
            line-height: 100%;
            border: 2px #fff solid;
            border-radius: 60px;
            background: #00c09e;
            transition: 0.1s linear;
            -o-transition: 0.1s linear;
            -ms-transition: 0.1s linear;
            -moz-transition: 0.1s linear;
            -webkit-transition: 0.1s linear;
            opacity: 0;
        }

        button.send.selected:after {
            opacity: 1;
        }

/*上传图片插件的样式*/
.img-box {
    margin-top: 40px;
}

    .img-box .up-p {
        margin-bottom: 20px;
        font-size: 16px;
        color: #555;
    }
/* .z_photo{
	padding: 18px;
	border:2px dashed #E7E6E6;
	padding: 18px;
} */
.z_photo .z_file {
    position: relative;
}

.z_file .file {
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 100;
}

.z_photo .up-section {
    position: relative;
    margin-right: 20px;
    margin-bottom: 20px;
}

.up-section .close-upimg {
    position: absolute;
    top: 6px;
    right: 8px;
    display: none;
    z-index: 10;
    cursor: pointer;
}

.up-section .up-span {
    display: block;
    width: 100%;
    height: 100%;
    visibility: hidden;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 9;
    background: rgba(0,0,0,.5);
}

.up-section:hover {
    border: 0px solid #f15134;
}

    .up-section:hover .close-upimg {
        display: block;
    }

    .up-section:hover .up-span {
        visibility: visible;
    }

.z_photo .up-img {
    display: block;
    width: 100%;
    height: 100%;
}

.loading {
    border: 1px solid #D1D1D1;
    background: url(../img/loading.gif) no-repeat center;
}

.up-opcity {
    opacity: 0;
}

.img-name-p {
    display: none;
}

.upimg-div .up-section {
    width: 190px;
    height: 180px;
}

/*遮罩层样式*/
.mask {
    z-index: 1000;
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.4);
}

    .mask .mask-content {
        width: 500px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -250px;
        margin-top: -80px;
        background: white;
        height: 160px;
        text-align: center;
    }

        .mask .mask-content .del-p {
            color: #555;
            height: 94px;
            line-height: 94px;
            font-size: 18px;
            border-bottom: 1px solid #D1D1D1;
        }

.mask-content .check-p {
    height: 66px;
    line-height: 66px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
}

    .mask-content .check-p span {
        width: 49%;
        display: inline-block;
        text-align: center;
        color: #d4361d;
        font-size: 18px;
    }

.check-p .del-com {
    border-right: 1px solid #D1D1D1;
}

.fl {
    float: left;
}

.clear {
    clear: both;
}

.img-namep {
    position: absolute;
    z-index: 10;
    color: #fff;
    left: 8px;
    bottom: 5px;
}

.up-section .chk-upimg {
    position: absolute;
   
    display: none;
    z-index: 10;
    cursor: pointer;
}

.up-section:hover .chk-upimg  {
    display: block;
}

.viewimg {
    position: absolute;
    top: 40%;
    left: 40%;
    display: none;
    z-index: 10;
    cursor: pointer;
}

.up-section:hover .viewimg {
    display: block;
}
